Can defects be fixed with weak test suites? An analysis of 50 defects from Defects4J

نویسندگان

  • Jiajun Jiang
  • Yingfei Xiong
چکیده

Automated program repair techniques, which target to generating correct patches for real world defects automatically, have gained a lot of attention in the last decade. Many different techniques and tools have been proposed and developed. However, even the most sophisticated program repair techniques can only repair a small portion of defects while producing a lot of incorrect patches. A possible reason for this low performance is that the test suites of real world programs are usually too weak to guarantee the behavior of the program. To understand to what extent defects can be fixed with weak test suites, we analyzed 50 real world defects from Defects4J, in which we found that up to 84% of them could be correctly fixed. This result suggests that there is plenty of space for current automated program repair techniques to improve. Furthermore, we summarized seven fault localization strategies and seven patch generation strategies that were useful in localizing and fixing these defects, and compared those strategies with current repair techniques. The results indicate potential directions to improve automatic program repair in the future research.

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

The value of the Gated 99mTc-MIBI SPECT in differentiation of fixed myocardial lesions [Persian]

Fixed myocardial defects in both stress and rest images, could be artifactual as a result of soft tissue attenuation. To increase specificity and identify the false positive results, we used gated technique to evaluate the wall motion and wall thickening as an index to differentiate real ischemic lesions from artifactual defects. 93 patients were studied. In 46 patients (48.8%) fixed perf...

متن کامل

Generating Effective Test Suites by Combining Coverage Criteria

A number of criteria have been proposed to judge test suite adequacy. While search-based test generation has improved greatly at criteria coverage, the produced suites are still often ineffective at detecting faults. Efficacy may be limited by the single-minded application of one criterion at a time when generating suites—a sharp contrast to human testers, who simultaneously explore multiple te...

متن کامل

Optimal SQUID based non-destructive test for detecting sub-surface defects with the help of advanced SQUID superconducting sensors and an experimental approach for optimal production method of these sensors from the YBCO superconductor materials

The conventional eddy current method for non-destructive inspection of welding joints has limitations that can examine defects to a certain depth below the surface of the sample and is not suitable for determining deep defects. This limitation can be overcome using the SQUID superconducting sensors. The nonstoichiometric composition of YBCO due to its superconducting temperature and desired cri...

متن کامل

Optimal SQUID based non-destructive test for detecting sub-surface defects with the help of advanced SQUID superconducting sensors and an experimental approach for optimal production method of these sensors from the YBCO superconductor materials

The conventional eddy current method for non-destructive inspection of welding joints has limitations that can examine defects to a certain depth below the surface of the sample and is not suitable for determining deep defects. This limitation can be overcome using the SQUID superconducting sensors. The nonstoichiometric composition of YBCO due to its superconducting temperature and desired cri...

متن کامل

Quality Tools to Reduce Crankshaft Forging Defects: An Industrial Case Study

Crankshafts are the most important loaded components in the case of an automobile. In order to achieve required mechanical properties most of crankshafts for automobile are forged with micro alloyed steel. Usually, the shapes of crankshafts are complex, and many defects are induced during the process of crankshaft forging such as under-filling, laps and folds etc. In this work the forging analy...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

عنوان ژورنال:
  • CoRR

دوره abs/1705.04149  شماره 

صفحات  -

تاریخ انتشار 2017